{extend name='index@template/base'}{/extend}
{block name='style'}
<link rel="stylesheet" href="__STATIC__/plugins/bootstrap-treeview/bootstrap-treeview.min.css">
<link href="__STATIC__/plugins/webuploader/webuploader_pc.css" rel="stylesheet" type="text/css"/>
<link href="__STATIC__/plugins/webuploader/custom/style.css" rel="stylesheet" type="text/css"/>
<link rel="stylesheet" href="__STATIC__/plugins/select2/select2.min.css">
<style>
    .btn-botom{
        width: 100%;
        height: 50px;
        margin-right: 20px;
        text-align: right;
        position: fixed;
        bottom:0;
        right:0;

    }
</style>
{/block}
{block name='script'}
<script src="__STATIC__/plugins/bootstrap-treeview/bootstrap-treeview.min.js"></script>
<script src="__STATIC__/plugins/select2/select2.full.min.js"></script>
{/block}
{block name='content'}
<div class="box-body">
    <div class="form-group">
        <label class="col-sm-1 col-xs-2 control-label">是否礼品</label>
        <div class="col-sm-6"  style="margin-top: 7px">
            <select id="c01-select" name="Importance" class="form-control select2" multiple="multiple" placeholder="重要级别..."></select>
        </div>
        <div class="col-sm-1 col-xs-2"></div>
    </div>
</div>
<div class="form-group">
    <label class="col-sm-1 col-xs-2 control-label">排序</label>
    <div class="col-sm-6">
        <input class="form-control" type="number" name="sort" style="width: 139px;" value="0">
    </div>
    <div class="col-sm-1 col-xs-2"></div>
</div>
{/block}
{block name="script_extra"}
<script>
    var data = [{ id: 0, text: 'enhancement' }, { id: 1, text: 'bug' }, { id: 2, text: 'duplicate' }, { id: 3, text: 'invalid' }, { id: 4, text: 'wontfix' }];
    $("#c01-select").select2({
        data: data,
        placeholder:'请选择',
        allowClear:true
    })

</script>

{/block}